package com.ruoyi.cat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * IP记录对象 cat_iprecord_table
 * 
 * @author ruoyi
 * @date 2024-12-30
 */
public class CatIprecordTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** ip值 */
    @Excel(name = "ip值")
    private String ipValue;

    /** 地区值 */
    @Excel(name = "地区值")
    private String areaValue;

    /** 文章任务id */
    @Excel(name = "文章任务id")
    private Long articleId;

    /** 分享用户表外键 */
    @Excel(name = "分享用户表外键")
    private Long shareUserId;

    /** 1APP产生2地推产生 */
    @Excel(name = "1APP产生2地推产生")
    private String iplabel;

    /** 1文章,2活动 */
    @Excel(name = "1文章,2活动")
    private String type;

    private String onlySign;

    private Long quantity;

    private Long numberVisitors;

    public Long getNumberVisitors() {
        return numberVisitors;
    }

    public void setNumberVisitors(Long numberVisitors) {
        this.numberVisitors = numberVisitors;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public String getOnlySign() {
        return onlySign;
    }

    public void setOnlySign(String onlySign) {
        this.onlySign = onlySign;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIpValue(String ipValue) 
    {
        this.ipValue = ipValue;
    }

    public String getIpValue() 
    {
        return ipValue;
    }
    public void setAreaValue(String areaValue) 
    {
        this.areaValue = areaValue;
    }

    public String getAreaValue() 
    {
        return areaValue;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setShareUserId(Long shareUserId) 
    {
        this.shareUserId = shareUserId;
    }

    public Long getShareUserId() 
    {
        return shareUserId;
    }

    public String getIplabel() {
        return iplabel;
    }

    public void setIplabel(String iplabel) {
        this.iplabel = iplabel;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ipValue", getIpValue())
            .append("areaValue", getAreaValue())
            .append("articleId", getArticleId())
            .append("shareUserId", getShareUserId())
            .append("createTime", getCreateTime())
            .append("Iplabel", getIplabel())
            .append("type", getType())
            .toString();
    }
}
